package com.jg.config;

import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 86130
 * @version 1.0
 * @description: TODO
 * @date 2025/6/6 上午10:57
 */
@Configuration  //配置类
@ComponentScan("com.jg")    //扫描
@PropertySource("classpath:database.properties")    //导入外部属性文件
@Import({JdbcConfig.class, MybatisConfig.class})    //导入其他配置类
@EnableAspectJAutoProxy //aop
@EnableTransactionManagement    //事务管理
public class SpringConfig {
}
